<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.*,java.io.*,java.sql.*,InvestmentPojo.*;"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%String userId = null != request.getSession().getAttribute("UserID")?(String)request.getSession().getAttribute("UserID"):"";%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>FDI TOOLS</title>
<style type="text/css">

#tabs {
	float:left;
	width:770px;
	font-size:10px;
	FONT-WEIGHT: bolder;
	#line-height:normal;
	border-bottom:1px solid #666;
	margin-bottom:1em; /*margin between menu and rest of page*/
	overflow:hidden;
	}
#tabs ul {
	margin:0;
	padding:10px 10px 0 0px;
	list-style:none;
	
	}

#tabs li {
	display:inline;
	margin:0;
	padding:0;
	}

#tabs a {
	float:left;
	background:url("images/left.png") no-repeat left top;
	margin:0;
	padding:0 0 0 5px;
	text-decoration:none;
	font-size:10px;
	}

#tabs a span {
	float:left;
	display:block;
	background:url("images/right.png") no-repeat right top;
	padding:3px 10px 0px 5px;
	margin-right:2px;
	color:#FFF;
	}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span {float:none;}

/* End IE5-Mac hack */
#tabs a:hover span {
	}

#tabs a:hover {
	background-position:0% -42px;
	}

#tabs a:hover span {
	background-position:100% -42px;
	}

</style>

</head>
<script>
function ShowBodyApp(id,value){
	//var UserIDForservice = document.getElementById("UserIDForservice");
	var colorValue = new Array('1','2','3','5','7','12','14','15');
	for(var i = 0; i < colorValue.length; i++){
		if(colorValue[i] == value){
			document.getElementById(value).style.fontSize = '12px';
			document.getElementById(value).style.color = '#00BFFF';
			document.getElementById(value).style.fontWeight = 'bold';
		}else{
			document.getElementById(colorValue[i]).style.fontSize = '';
			document.getElementById(colorValue[i]).style.color = '';
			document.getElementById(colorValue[i]).style.fontWeight = '';
			}
		}
	document.getElementById("forms").innerHTML="<div style='padding-left:20px;padding-bottom:0px;' align='center' id='loadingwait' class='d1'><img alt='Plz wait...' src='images/loading48.gif' width='600' height='80'/></div>";
	if (window.XMLHttpRequest)
	  {
		// code for IE7+, Firefox, Chrome, Opera, Safari
	   xmlhttp=new XMLHttpRequest();
	  }
	else
	  {
		// code for IE6, IE5
	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  }
	xmlhttp.open("POST","UIFormAction.do?a="+id+"&UserIDForservice="+value,true); 
	xmlhttp.onreadystatechange=function()
	  {
	  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	     { 
		  if("" == xmlhttp.responseText){
	    		
	    		document.getElementById("forms").innerHTML="";
	    		//document.getElementById("forms").style.display="none";
	    		
		  }else{
			  //document.getElementById("forms").style.display="";
			  document.getElementById("forms").innerHTML=xmlhttp.responseText;
		  }
	    
	    }
	  }

	xmlhttp.send();
}
</script>
<body>
<% if(null == userId || "null".equals(userId) || "".equals(userId)){%>
<table width="700" align="center" border="0" cellspacing="0" cellpadding="0" valign="middle">
<tr><td width="780">
<div id="tabs">
  <ul>
    <li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><span id="1" title="FOREIGN DIRECT INVESTMENT">FOREIGN DIRECT INVESTMENT</span></a></li>
    <li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><span id="2" title="IMMOVABLE PROPERTY IN INDIA">IMMOVABLE PROPERTY IN INDIA</span></a></li>
     <li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><span id="5" title="EXTERNAL COMMERCIAL BORROWING">EXTERNAL COMMERCIAL BORROWING</span></a></li>
    <li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><span id="3" title="BRANCH/LO/PO OFFICE IN INDIA">BRANCH/LO/PO OFFICE IN INDIA</span></a></li>
    <li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><span id="7" title="OVERSEAS DIRECT INVESTMENT">OVERSEAS DIRECT INVESTMENT</span></a></li>
    <li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><span id="12" title="FOREIGN EXCHANGE REMITTANCES">FOREIGN EXCHANGE REMITTANCES</span></a></li>
    <li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><span id="14" title="COMPOUNDING OF OFFENCES">COMPOUNDING OF OFFENCES</span></a></li>
    <li><a href="#" onclick="ShowbodyWithoutUser('withoutuser')"><span id="15" title="GOVT APPROVALS">GOVT APPROVALS</span></a></li>
  </ul>
</div>
<tr><td id="forms" style="padding-left:10;"></td></tr>
</td></tr></table>
<%}else{ %>
<table width="700" align="center" border="0" cellspacing="0" cellpadding="0" valign="middle">
<tr><td width="780">
<div id="tabs">
  <ul>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','1')"><span id="1" title="FOREIGN DIRECT INVESTMENT">FOREIGN DIRECT INVESTMENT</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','2')"><span id="2" title="IMMOVABLE PROPERTY IN INDIA">IMMOVABLE PROPERTY IN INDIA</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','5')"><span id="5" title="EXTERNAL COMMERCIAL BORROWING">EXTERNAL COMMERCIAL BORROWING</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','3')"><span id="3" title="BRANCH/LO/PO OFFICE IN INDIA">BRANCH/LO/PO OFFICE IN INDIA</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','7')"><span id="7" title="OVERSEAS DIRECT INVESTMENT">OVERSEAS DIRECT INVESTMENT</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','12')"><span id="12" title="FOREIGN EXCHANGE REMITTANCES">FOREIGN EXCHANGE REMITTANCES</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','14')"><span id="14" title="COMPOUNDING OF OFFENCES">COMPOUNDING OF OFFENCES</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','15')"><span id="15" title="GOVT APPROVALS">GOVT APPROVALS</span></a></li>
  </ul>
</div>
<tr><td id="forms" style="padding-left:10;">Click the tabs to view the Forms.</td></tr>
</td></tr></table>
<!-- <table width="800" align="center" border="0" cellspacing="0" cellpadding="0" valign="middle">
<tr><td width="880">
<div id="tabs">
  <ul>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','1')"><span id="1" title="FOREIGN DIRECT INVESTMENT">FOREIGN DIRECT INVESTMENT</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','2')"><span id="2" title="IMMOVABLE PROPERTY IN INDIA">IMMOVABLE PROPERTY IN INDIA</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','5')"><span id="5" title="EXTERNAL COMMERCIAL BORROWING">EXTERNAL COMMERCIAL BORROWING</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','3')"><span id="3" title="BRANCH/LO/PO OFFICE IN INDIA">BRANCH/LO/PO OFFICE IN INDIA</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','7')"><span id="7" title="OVERSEAS DIRECT INVESTMENT">OVERSEAS DIRECT INVESTMENT</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','12')"><span id="12" title="FOREIGN EXCHANGE REMITTANCES">FOREIGN EXCHANGE REMITTANCES</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','14')"><span id="14" title="COMPOUNDING OF OFFENCES">COMPOUNDING OF OFFENCES</span></a></li>
    <li><a href="#" onclick="ShowBodyApp('FormsNChecklists','15')"><span id="15" title="GOVT APPROVALS">GOVT APPROVALS</span></a></li>
  </ul>
</div>
<tr><td id="forms" style="padding-left:10;"></td></tr>
</td></tr></table> -->
<%} %>	
</body>
</html>